<!DOCTYPE html>
<html>

	<head lang="en">
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title></title>
		<link rel="stylesheet" href="css/common2.css" />
		<link rel="stylesheet" href="css/login.css" />
		<style>
			.login_bg {
				background: #ffffff;
			}
			
			.login_btn {
				width: 80%;
				margin: 10%;
			}
			
			.other_login {
				top: 70%;
			}
			
			.other_choose {
				top: 80%;
			}
		</style>
	</head>

	<body id="app">
		<div class="login_bg">
			<div id="logo">
				<img src="images/logo.png" alt="" />
			</div>
			<a class="login_btn" href="login.html">登&nbsp;&nbsp;录</a>
			<a class="login_btn" href="register.html">新&nbsp;&nbsp;手&nbsp;&nbsp;注&nbsp;&nbsp;册</a>
			<div class="other_login">
				<div class="other"></div>
				<span>其他方式登录</span>
				<div class="other"></div>
			</div>
			<div class="other_choose">
				<a href="">
					<img src="images/qq.png" alt="" />
				</a>
				<a href="">
					<img src="images/wx.png" alt="" />
				</a>
				<a href="">
					<img src="images/wb.png" alt="" />
				</a>
			</div>
		</div>
	</body>
	<script>
		new Vue({
			el: '#app',
			data: {
				user: {
					"OrgID": "180718005",
					"PassWordExt": "bd6a42e8f3e6ec6ad4f16e3820c32272",
					"UserName": "huangdev1",
					"AccessToken": 0
				}
			},
			methods: {
				getdata: function() {

					this.$http.post('http://122.114.63.193:7077/LoginService/User/Login/abc', JSON.stringify(this.user), {
						emulateJSON: true
					}).then(
						function(res) {
							console.log("1");
							console.log(res);
						},
						function(res) {
							console.log("2");
							console.log(res.date);
						});

					$.ajax({
						url: "http://122.114.63.193:7077/LoginService/User/Login/abc",
						type: "POST",
						contentType: "application/json",
						dataType: "json",
						data: JSON.stringify(this.user),
						success: function(data) {
							console.log(data);
						},
						error: function(data) {
							console.log(data);
						}
					});

				}
			}
		})
	</script>
</html>